#pragma once

#include <string>
#include<memory>

class CZegoStreamInfo {
public:
	CZegoStreamInfo(const std::string &streamId, const std::string &userId, const std::string &userName, const std::string &extraInfo, bool isCurUser = false);
	CZegoStreamInfo(const CZegoStreamInfo &otherStream);

	~CZegoStreamInfo();

	std::string getStreamId();
	std::string getUserId();
	std::string getUserName();
	std::string getExtraInfo();

	void setPlayWnd(HWND wnd);
	HWND getPlayWnd();

	bool isCurUserCreated(void);

	bool isPlaying(void);


private:
	std::string m_strStreamId;
	std::string m_strUserId;
	std::string m_strUserName;
	std::string m_strExtraInfo;

	HWND   m_hPlayWnd = NULL;
	bool   m_bCurUserCreated = false;
	bool   m_bPrimary  = false;

};

using StreamPtr = std::shared_ptr<CZegoStreamInfo>;
